<div ng-controller="SessionController"></div>
<div data-ng-controller="MessagesController"
	data-ng-init="loadMessages()">
	<br>
	<br>
	<br>
	<h1 class="orangeHeader">Messages</h1>
	<table class="table table-striped">
		<thead>
			<tr>
				<th class="tableHeader">Message</th>
			</tr>
		</thead>
		<tbody>
			<tr data-ng-repeat="lecture in approvedLec">
				<td><a class="tableLink" href="#/conference/{{lecture.title}}">Lecture {{lecture.title}} on {{lecture.date}} from {{lecture.time}} is with changed status.</a></td>
			</tr>
		    <tr ng-repeat="conference in newConf">
				<td><a class="tableLink" href="#/conferences/{{conference.name}}">There is a new conference {{conference.name}} in {{conference.location}} for {{conference.startTime.slice(0,10)}}. </a></td>
			</tr>
			<tr ng-repeat="conference in notAddedLec">
				<td><a class="tableLink" href="#/conferences/{{conference.name}}">Will you add lecture to {{conference.name}} in {{conference.location}} for {{conference.startTime.slice(0,10)}}. There are less than 45 days.</a></td>
			</tr>
		</tbody>
	</table>
</div>